<html>
<head>
	<title>My Form</title>
	<link href="<?php echo  base_url();?>public/css/bootstrap.min.css" rel="stylesheet">
	<link href="<?php echo  base_url();?>public/css/bootstrap-theme.min.css" rel="stylesheet">
	<link href="<?php echo  base_url();?>public/css/style.css" rel="stylesheet">
</head>
<body>
	<div class="container">
	    <div class="row">
  			<div class="col-md-6 col-md-offset-3">  			
  				<form class="form-horizontal" action="" method="POST">
					<div class="form-group">
					    <label class="col-sm-2 control-label">类名</label>
					    <div class="col-sm-10">
						    <input type="text" class="form-control"  name="name" value="<?php echo set_value('name',$catalogs->name)?>">
						    <?php echo form_error('name');?>
					    </div>
					</div>
	      			<button type="submit" class="form-control btn btn-success btn-block">submit</button>
				</form>
	  		</div>		
		</div>
	</div>	
</body>
</html>